import HttpKit from '@/utils/http-kit'

export default {
  /**
   * 用户获取自己报障的订单
   * @param id
   * @returns {Promise<T | never>}
   */
  getMaintenanceList (id) {
    return HttpKit.get('/maintenance/customerId/' + id, {pageNumber: '0', pageSize: '10000'}).then(
      res => res.data
    )
  }
}
